class OscNotice {
  int referCount;//未读@我数
  int replyCount;//未读评论数
  int msgCount;//未读私信数
  int fansCount;//新增粉丝数

  OscNotice({this.referCount, this.replyCount, this.msgCount, this.fansCount});

  OscNotice.fromJson(Map<String, dynamic> json) {
    referCount = json['referCount'];
    replyCount = json['replyCount'];
    msgCount = json['msgCount'];
    fansCount = json['fansCount'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['referCount'] = this.referCount;
    data['replyCount'] = this.replyCount;
    data['msgCount'] = this.msgCount;
    data['fansCount'] = this.fansCount;
    return data;
  }
}